<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="/page/common/common_header.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>值别详情</title>

<script src='${baseURL }/js/jquery.min.js'></script>
<script src='${baseURL }/js/common/addTab.js'></script>

<script type="text/javascript" src="http://10.0.250.52/uidev/package/js/itcui.dev.js"></script>
<link rel="stylesheet" type="text/css" href="http://10.0.250.52/uidev/package/css/itcui.dev.css" media="all"/>
<script type="text/javascript" src="http://10.0.250.52/uidev/package/source/thirdparty/js/jquery.validate.js"></script>

<!-- toolbar css  -->
<link rel="stylesheet" type="text/css" href="${baseURL }/css/base.css"
	media="all" />

<script>
	var fields = [
				{title : "排班编号", id : "pbId"},
				{title : "排班名称", id : "pbName",linebreak:true},
				{title : "规则编号", id : "ruleId",linebreak:true},
	  			{title : "规则名称", id : "ruleName",linebreak:true},
	  			{title : "开始时间", id : "startTime",linebreak:true},
	  			{title : "结束时间", id : "endTime",linebreak:true}
	  		];
	function autoform(){			
		$("#autoform").ITC_Form({validate:true,},fields);
	}
	function autoformf(){
		$("#autoform").ITC_Form({validate:true,fixLabelWidth:true},fields);
	}
	
	$(document).ready(function() {
		autoformf();
		 var data = {
			        "pbId" : "ABCD0001",
			        "pbName" : "2014年度排班",
			        "ruleId" : "100001",
			        "ruleName" : "运行排班",
			        "startTime" : "2014-01-01",
			        "endTime" : "2014-12-31"
			    }
		$("#autoform").ITC_Form("loaddata",data);
	});
	
</script>

</head>
<body class="ml12 mr12 mt12">
	<div id="content">
		<div class="toolbar" style="border-bottom: #5aa3d6 1px solid">
			<div class="row btn-group-sm">
					<button type="button" class="btn btn-default" onclick="closeTab()">关闭</button>
					<button type="button" class="btn btn-success">保存</button>
			</div>
		</div>
	<form id="autoform">
	</form>
	</div>
</body>
</html>